#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#include "crypto/json.h"
#include "crypto/parse/json/ParseJsonImp.h"

char buffer[2048];

int main()
{
    Json *json = NULL;
    while (1)
    {
        memset(buffer, 0, 2048);
        gets(buffer);
        buffer[strlen(buffer)] = '\n';
        Json *json = ParseJson(buffer);
        printf("%s\n", JsonString(json, NULL));
    }
    return 0;
}